package cn.wolfcode.crm.query;

import java.math.BigDecimal;

import cn.wolfcode.crm.util.StringUtils;
import lombok.Getter;
import lombok.Setter;

@Setter@Getter
public class ProductStockQuery extends QueryObject{
	
	private long depotId = -1L;
	
	private String keyword;
	
	private long id = -1L;
	private BigDecimal limitNumber;//库存警告阀值
	private BigDecimal maxNumber;
	
	public String getKeyword(){
		return StringUtils.isEmpty(keyword) ? null : keyword;
	}
}
